package com.linc.ds.redBlackTree;

public class RedBlackTree<T extends Comparable<T>> {

  private static enum COLOR {
    RED,
    BLACK
  }

  private static class Node<T> {
    private T data;
    private Node<T> l;
    private Node<T> r;
    private COLOR color;

    public Node(T e) {
      data = e;
      l = r = null;
      color = COLOR.BLACK;
    }

    public void setColor(COLOR color) {
      this.color = color;
    }
  }
}
